//package cn.iocoder.yudao.module.handguard.controller.app.productaccessitem;
//
//import cn.iocoder.yudao.framework.common.pojo.CommonResult;
//import cn.iocoder.yudao.framework.common.pojo.PageResult;
//import cn.iocoder.yudao.framework.excel.core.util.ExcelUtils;
//import cn.iocoder.yudao.framework.operatelog.core.annotations.OperateLog;
//import cn.iocoder.yudao.module.handguard.controller.admin.productaccessitem.vo.*;
//import cn.iocoder.yudao.module.handguard.convert.productaccessitem.ProductAccessItemConvert;
//import cn.iocoder.yudao.module.handguard.dal.dataobject.productaccessitem.ProductAccessItemDO;
//import cn.iocoder.yudao.module.handguard.service.productaccessitem.ProductAccessItemService;
//import io.swagger.v3.oas.annotations.Operation;
//import io.swagger.v3.oas.annotations.Parameter;
//import io.swagger.v3.oas.annotations.tags.Tag;
//import org.springframework.security.access.prepost.PreAuthorize;
//import org.springframework.validation.annotation.Validated;
//import org.springframework.web.bind.annotation.*;
//
//import javax.annotation.Resource;
//import javax.servlet.http.HttpServletResponse;
//import javax.validation.Valid;
//import java.io.IOException;
//import java.util.List;
//import java.util.Map;
//
//import static cn.iocoder.yudao.framework.common.pojo.CommonResult.success;
//import static cn.iocoder.yudao.framework.operatelog.core.enums.OperateTypeEnum.EXPORT;
//
//@Tag(name = "小程序 - 产品准入项")
//@RestController
//@RequestMapping("/hutai/product-access-items")
//@Validated
//public class ProductAccessItemsController {
//
//    @Resource
//    private ProductAccessItemService productAccessItemService;
//
//
//    //@GetMapping("/list")
//    //@Operation(summary = "获得产品准入项列表")
//    //@Parameter(name = "id", description = "产品准入id", required = true, example = "1")
//    //public CommonResult<List<ProductAccessItemRespVO>> getProductAccessItemList(@RequestParam("id") Long id) {
//    //    List<ProductAccessItemDO> list = productAccessItemService.getProductAccessItemList(id);
//    //    return success(ProductAccessItemConvert.INSTANCE.convertList(list));
//    //}
//
////    @GetMapping("/dataList")
////    @Operation(summary = "获得产品准入列表分组数据详情")
////    @Parameter(name = "id", description = "产品准入id", required = true, example = "1")
////    @PreAuthorize("@ss.hasPermission('hutai:order:query')")
////    public CommonResult<Map<String,List<ProductAccessItemDO>>> getProductAccessItemGroupList(Long id) {
////        Map<String,List<ProductAccessItemDO>> listMap = productAccessItemService.getProductAccessItemGroupList(id);
////        return success(listMap);
////    }
//
//
//}
